home *** CD-ROM | disk | FTP | other *** search
/ Chip 2006 June (Extra) / CHIP 2006-06.3.iso / program / opensource / clamav-devel.exe / contrib / Windows / clamav.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-05-16  |  2.0 KB  |  75 lines

  1. // clamav.h : main header file for the CLAMAV application
  2. //
  3.  
  4. /*
  5.  *  Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk>
  6.  *
  7.  *  This program is free software; you can redistribute it and/or modify
  8.  *  it under the terms of the GNU General Public License as published by
  9.  *  the Free Software Foundation; either version 2 of the License, or
  10.  *  (at your option) any later version.
  11.  *
  12.  *  This program is distributed in the hope that it will be useful,
  13.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  *  GNU General Public License for more details.
  16.  *
  17.  *  You should have received a copy of the GNU General Public License
  18.  *  along with this program; if not, write to the Free Software
  19.  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  20.  *  MA 02110-1301, USA.
  21.  */
  22. #ifndef __AFXWIN_H__
  23.     #error include 'stdafx.h' before including this file for PCH
  24. #endif
  25.  
  26.  
  27. #include "resource.h"       // main symbols
  28.  
  29. #include "mainfrm.h"
  30.  
  31. #include "options.h"
  32. #include "progress.h"
  33. #include "clamserver.h"
  34.  
  35. #define    DEFAULT_PORT    3310
  36.  
  37. /////////////////////////////////////////////////////////////////////////////
  38. // CClamavApp:
  39. // See clamav.cpp for the implementation of this class
  40. //
  41.  
  42. class CClamavApp : public CWinApp
  43. {
  44. public:
  45.     CClamavApp();
  46.     ~CClamavApp();
  47.     void    Scan(const CString& filename);
  48.  
  49. // Overrides
  50.     // ClassWizard generated virtual function overrides
  51.     //{{AFX_VIRTUAL(CClamavApp)
  52.     public:
  53.     virtual BOOL InitInstance();
  54.     virtual int ExitInstance();
  55.     //}}AFX_VIRTUAL
  56.  
  57. // Implementation
  58.  
  59.     //{{AFX_MSG(CClamavApp)
  60.     afx_msg void OnAppAbout();
  61.     afx_msg void OnFileNew();
  62.     afx_msg void OnFileOpen();
  63.     afx_msg void OnSetOptions();
  64.     //}}AFX_MSG
  65.     DECLARE_MESSAGE_MAP()
  66.  
  67. private:
  68.     ClamServer    *clamServer;
  69.     COptions    *options;
  70.     BOOL        recursive;    // recursively scan folders?
  71. };
  72.  
  73.  
  74. /////////////////////////////////////////////////////////////////////////////
  75.